import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      redirect: '/home',
      component: () => import('../views/Layout/index.vue'),
      children: [
        {
          path: 'home',
          component: import('../views/Home/index.vue')
        }
      ]
    }
  ]
})

export default router